<script setup>

//显隐
import {ref} from "vue";

const open = ref(false)

const props = defineProps({
  erweimaurl:{
    type:String,
    default:''
  }
})


// 打开对话框
const openModal = () => {
  open.value = true
}

defineExpose({
  openModal
})

</script>

<template>
  <a-modal v-model:open="open" title="微信扫描二维码支付">
   <div class="flex w-full items-center justify-center">
     <a-image
         :width="200"
         :src="props.erweimaurl"
     />
   </div>
  </a-modal>
</template>

<style scoped>

</style>